#!/bin/bash

echo "Bash version ${BASH_VERSION}..."

function func1()
{
echo $1
for ((i=0; i<$1; ++i))
    do
        echo $i, "`date`"
    done
}

func1 10 >> /tmp/test.log


